// extract module
var http = require('http');

// create server
var server = http.createServer();

// link event to server object
server.on('request', function() {
  console.log('Request On');
});

server.on('connection', function() {
  console.log('Connection On');
});

server.on('close', function() {
  console.log('Close On');
});

// run listen()
server.listen(52273);